home *** CD-ROM | disk | FTP | other *** search
- Path: osiris.wu-wien.ac.at!usenet
- From: Rony.Flatscher@wu-wien.ac.at
- Newsgroups: comp.lang.rexx
- Subject: Re: Calling variable procs (in OO-Rexx ...)
- Date: 9 Jan 1996 12:11:42 GMT
- Organization: University of Economics and Business Administration
- Distribution: inet
- Message-ID: <4ctm1u$681@osiris.wu-wien.ac.at>
- References: <9601090923.AA10832@s4dc8bs1.eurocontrol.de>
- Reply-To: Rony.Flatscher@wu-wien.ac.at
- NNTP-Posting-Host: rony.wu-wien.ac.at
- X-Newsreader: IBM NewsReader/2 v1.9d - NLS
-
- In <9601090923.AA10832@s4dc8bs1.eurocontrol.de>, Cem Turgay #261 <tur@EUROCONTROL.DE> writes:
- >> Is there anyway to call a proceedure that is stored
- >> in a variable.
- >
- >Yes, of course, the magic word is INTERPRET ! B-)
-
- In Object Rexx one could use (which is really a gimmick):
-
- CALL ( variable )( [arg1, ..., argn] )
-
- A potential result (if it was a function) would be stored in the special
- variable "RESULT" upon return and would therefore be accessible.
-
- ---rony
-
-